package com.lu.pojo.generic;

public class DefaultContainer {
    Object [] list;

    public DefaultContainer(int capacity) {
        list=new Object[capacity];
    }

    public void set(Object o,int index){
        list[index]= o;
    }
    public Object get(int index){
        return list[index];
    }

}
